<?php

require_once('inc.config.php');

$useTemplate   = 'agent_list.html';

$key = $_POST["agent_name"];

$page = new QuickSkin ($useTemplate );

template_ini($page);

$page->assign("indexcls" , "nv_current");


$goldlist = $myAgent->getGoldenList();
$alllist = $myAgent->getSearchList($key , 1 , 1);
$totalpage = $myAgent->getSearchPage($key);
$totalnum = $myAgent->getSearchNum($key);

$page->assign("goldlist" , $goldlist);
$page->assign("alllist" , $alllist);
$page->assign("totalpage" , $totalpage);
$page->assign("totalnum" , $totalnum);
$page->assign("s_page" , 1);
$page->assign("indexcls" , "bfont");
$page->output();


ob_end_flush();

?>
